import React from 'react'
import { PageHeaderWrapper } from '@ant-design/pro-layout'
import { Card } from 'antd'
import Chunk from '../components/chunk'
import { data } from '../data'

export default () => {

    const dataList: data[] = [
        { title: "组合套餐", desc: "组合套餐活动功能", url: "http://uniapp.b2b2c.niuteam.cn/addon/bundling/icon.png" },
        { title: "优惠劵", desc: "会员优惠劵功能", url: "http://uniapp.b2b2c.niuteam.cn/addon/coupon/icon.png", path: '/promote/shop/coupon' },
        { title: "限时折扣", desc: "限时折扣功能", url: "http://uniapp.b2b2c.niuteam.cn/addon/discount/icon.png" },
        { title: "团购", desc: "团购活动", url: "http://uniapp.b2b2c.niuteam.cn/addon/groupbuy/icon.png", path: '/promote/shop/group-buy' },
        { title: "满减活动", desc: "满减送活动", url: "http://uniapp.b2b2c.niuteam.cn/addon/manjian/icon.png" },
        { title: "拼团", desc: "拼团活动", url: "http://uniapp.b2b2c.niuteam.cn/addon/pintuan/icon.png", path: '/promote/shop/fight-group' },
        { title: "限时秒杀", desc: "限时秒杀功能", url: "http://uniapp.b2b2c.niuteam.cn/addon/seckill/icon.png", path: '/promote/shop/sec-kill' },
        { title: "专题活动", desc: "专题活动功能", url: "http://uniapp.b2b2c.niuteam.cn/addon/topic/icon.png" },
        { title: "优惠码", desc: "向客户发放优惠码", url: "http://uniapp.b2b2c.niuteam.cn/public/static/img/coupon_code.png", status: "pending" },
    ];
    return (
        <PageHeaderWrapper title={false}>
            <Card>
                <Chunk dataList={dataList} navTitle="店铺营销" />
            </Card>

        </PageHeaderWrapper>
    )
}